﻿#pragma once

#include "CoreMinimal.h"
#include "SoftRendererShader.h"
#include "PixelShader.generated.h"

/**
 * 像素着色器对象
 */
UCLASS(Blueprintable, BlueprintType)
class SOFTRENDERER_API UPixelShader : public USoftRendererShader
{
	GENERATED_UCLASS_BODY()

protected:
	static void Discard( bool& bDiscardCurPixel);
	
public:
	virtual FLinearColor RunPixelShader(const FVertexToPixelInterpolants& Pixel, bool& bDiscardCurPixel) override;
	
};
